🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / testing / src / commonMain / kotlin / org / meshtastic / core / testing / FakeNotificationPrefs.kt
Displaying Raw • Download
core/testing/src/commonMain/kotlin/org/meshtastic/core/testing/FakeNotificationPrefs.kt 97ec245a70ef792e54a9e21a2d79c4832ced1d25 (97ec245a) Text, 1.59 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.testing
Tff7b72import T7ee787kotlinx.coroutines.flow.MutableStateFlow
Tff7b72import T7ee787org.meshtastic.core.repository.NotificationPrefs
Tff7b72class T56d364FakeNotificationPrefs Tb4b4b4: Te6edf3NotificationPrefs Tb4b4b4{
Tff7b72override Tff7b72val Te6edf3messagesEnabled Tff7b72= Te6edf3MutableStateFlowTb4b4b4(Tff7b72trueTb4b4b4)
Tff7b72override Tff7b72fun Td2a8ffsetMessagesEnabledTb4b4b4(Te6edf3enabledTb4b4b4: Tffa657BooleanTb4b4b4) Tb4b4b4{
Te6edf3messagesEnabledTb4b4b4.Te6edf3value Tff7b72= Te6edf3enabled
Tb4b4b4}
Tff7b72override Tff7b72val Te6edf3nodeEventsEnabled Tff7b72= Te6edf3MutableStateFlowTb4b4b4(Tff7b72trueTb4b4b4)
Tff7b72override Tff7b72fun Td2a8ffsetNodeEventsEnabledTb4b4b4(Te6edf3enabledTb4b4b4: Tffa657BooleanTb4b4b4) Tb4b4b4{
Te6edf3nodeEventsEnabledTb4b4b4.Te6edf3value Tff7b72= Te6edf3enabled
Tb4b4b4}
Tff7b72override Tff7b72val Te6edf3nodeEventsAutoDisabledForEvent Tff7b72= Te6edf3MutableStateFlowTb4b4b4(Tff7b72falseTb4b4b4)
Tff7b72override Tff7b72fun Td2a8ffsetNodeEventsAutoDisabledForEventTb4b4b4(Te6edf3disabledTb4b4b4: Tffa657BooleanTb4b4b4) Tb4b4b4{
Te6edf3nodeEventsAutoDisabledForEventTb4b4b4.Te6edf3value Tff7b72= Te6edf3disabled
Tb4b4b4}
Tff7b72override Tff7b72val Te6edf3lowBatteryEnabled Tff7b72= Te6edf3MutableStateFlowTb4b4b4(Tff7b72trueTb4b4b4)
Tff7b72override Tff7b72fun Td2a8ffsetLowBatteryEnabledTb4b4b4(Te6edf3enabledTb4b4b4: Tffa657BooleanTb4b4b4) Tb4b4b4{
Te6edf3lowBatteryEnabledTb4b4b4.Te6edf3value Tff7b72= Te6edf3enabled
Tb4b4b4}
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.04s